package com.imti.mall.admin.service.Impl;

import com.imti.mall.admin.mapper.UmsRoleMapper;
import com.imti.mall.admin.service.UmsRoleService;
import com.imti.mall.model.admin.pojo.UmsMenu;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UmsRoleServiceImpl implements UmsRoleService {

    @Autowired
    private UmsRoleMapper umsRoleMapper;

    @Override
    public List<UmsMenu> getMenuList(Long adminId) {
        return umsRoleMapper.getMenuList(adminId);
    }

}
